package cn.scw.project.facility.domain.vo;

import cn.scw.framework.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 设备对象 fac_facility
 *
 * @author api
 * @date 2020-05-20
 */
@Data
@ApiModel("设备")
public class FacFacilityVo extends BaseEntity{
    private static final long serialVersionUID = 5797081122260215532L;
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("缩略图")
    private String litimgUrl;

    @ApiModelProperty("设备编码")
    private String code;

    @ApiModelProperty("设备名称")
    private String name;

    @ApiModelProperty("位置-省")
    private String positionProvince;

    @ApiModelProperty("位置-省")
    private String positionProvinceValue;

    @ApiModelProperty("位置-市")
    private String positionCity;

    @ApiModelProperty("位置-市")
    private String positionCityValue;

    @ApiModelProperty("位置")
    private String positionArea;

    @ApiModelProperty("位置详情")
    private String positionDetails;

    @ApiModelProperty("经销商id")
    private Long dealerId;

    @ApiModelProperty("负责人")
    private String leader;

    @ApiModelProperty("负责人电话")
    private String leaderPhone;

    @ApiModelProperty("二维码")
    private String qrCodeUrl;

    @ApiModelProperty("设备状态（0离线，1正常，2维修）")
    private String status;

    @ApiModelProperty("设备状态")
    private String statusValue;

    @ApiModelProperty("投放日期")
    private Date putDate;

    @ApiModelProperty("总订单量")
    private Integer orderCount;

    @ApiModelProperty("商品id")
    private Long commodityId;

    @ApiModelProperty("租赁方式")
    private String type;

    @ApiModelProperty("租赁月数")
    private int rentMonth;

    @ApiModelProperty("租赁日期")
    private Date rentDate;

    @ApiModelProperty("到期日期")
    private Date expireDate;

    @ApiModelProperty("是否到期")
    private boolean isExpire;

    @ApiModelProperty("分账用户ID")
    private List<Long> separates;

    /** 用户id*/
    private Long userId;
}
